package com.yinhai.model;

import java.io.Serializable;

import com.tgb.lk.ahibernate.annotation.Column;
import com.tgb.lk.ahibernate.annotation.Id;
import com.tgb.lk.ahibernate.annotation.Table;
/**
 * 消息列表展现的数据
 * @author lixh
 *
 */
@Table(name = "im_list") 
public class IMList implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 639142478358560385L;
	@Id
	@Column(name = "id")
	private  int id;	
	@Column(name = "send_user_id",length=18)
	public String sendUserId;//发送者ID
	@Column(name = "send_user_name", length = 100)
	public String sendUserName;//发送者姓名
	@Column(name = "rec_id", length = 18)
	public String recId;//接受者ID
	@Column(name = "rec_name", length = 18)
	public String recName;//接收者姓名
	@Column(name = "content", length = 2000)
	public String content;//最新消息内容
	@Column(name = "send_date", length = 16)
	public String sendDate;//最新发送时间
	@Column(name = "is_group", length = 2)
	public String isGroup;//0个人消息，1群组消息
	@Column(name = "group_id", length = 12)
	public String groupId;//群组ID
	@Column(name = "unread_number", length = 1)
	public int unreadNumber;//短信未读条数
	@Column(name = "show_status", length = 1)
	public String showStatus = "1";//是否显示  0:不显示；1：显示
	
	public String getShowStatus() {
		return showStatus;
	}
	public void setShowStatus(String showStatus) {
		this.showStatus = showStatus;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSendUserId() {
		return sendUserId;
	}
	public void setSendUserId(String sendUserId) {
		this.sendUserId = sendUserId;
	}
	public String getSendUserName() {
		return sendUserName;
	}
	public void setSendUserName(String sendUserName) {
		this.sendUserName = sendUserName;
	}
	public String getRecId() {
		return recId;
	}
	public void setRecId(String recId) {
		this.recId = recId;
	}
	public String getRecName() {
		return recName;
	}
	public void setRecName(String recName) {
		this.recName = recName;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSendDate() {
		return sendDate;
	}
	public void setSendDate(String sendDate) {
		this.sendDate = sendDate;
	}
	public String getIsGroup() {
		return isGroup;
	}
	public void setIsGroup(String isGroup) {
		this.isGroup = isGroup;
	}
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public int getUnreadNumber() {
		return unreadNumber;
	}
	public void setUnreadNumber(int unreadNumber) {
		this.unreadNumber = unreadNumber;
	}
	
}
